package com.w3schools.www.webservices.principal;

import com.w3schools.www.webservices.TempConvertSoapProxy;

public class Principal {

	public static void main(String[] args) {
			try {
				TempConvertSoapProxy temp = new TempConvertSoapProxy();
				System.out.println("CONVERSOR DE TEMPERATURA");
				System.out.println("Fahrenheit:122 = Celsius: "+ temp.fahrenheitToCelsius("122"));
				System.out.println("Celsius:50 = Fahrenheit: "+ temp.celsiusToFahrenheit("50"));
			} catch (Exception e) {
				e.printStackTrace();
			}	
	}

}
